home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
comm
/
term
/
MEAGORComm.lha
/
MEAGORComm_Install
/
Install
next >
Wrap
Text File
|
1996-12-09
|
4KB
|
170 lines
;$VER:MEAGORComm v1.01a Installer Script
(complete 0)
(set @default-dest "Work:")
; Texts
(set #Intro-Txt
(cat "\n\nWelcome to the MEAGORComm v1.0a\n"
"Hard Disk Install Script\n\n\n\n"
"(c)1996 David Meagor"
))
(set #Path-Txt
(cat "Select the target directory."
"A directory called 'MEAGORComm' will be created there."
))(set #Path-Help
(cat "\nThis section lets you choose the "
"target directory to install MEAGORComm v1.0a. \n\n"
"A directory MEAGORComm will be created there.\n\n"
"Default is Work:\n\n\n"
@askdir-help
))
; Main
(message #Intro-Txt)
(set target
(askdir (prompt #Path-Txt) (help #Path-Help) (default @default-dest) (newpath)
))
(set @default-dest target)
(set #destdir
(askdir
(prompt "Please select your harddisk's FONTS: directory.")
(help (cat "A new font called HyperANSI/8 will be installed "
"there to provide MEAGORComm with an IBM typeface."
))
(default "FONTS:")
)
)
(copyfiles
(prompt "Copying to " #destdir)
(help @copy-files-help)
(source "Fonts")
(dest #destdir)
(pattern "#?")
)
(complete 15)
(set #destdir
(askdir
(prompt "Please select your harddisk's LIBS: directory.")
(help (cat "The XPR Librarys required for modem transfer "
"will be added to you libs, unless newer "
"versions are already there."
))
(default "LIBS:")
)
)
(foreach "Libs/" "#?.Library"
(copylib
(help @copylib-help)
(prompt "Installing Library: " @each-name)
(source (tackon "Libs/" @each-name))
(dest #destdir)
(noposition)
(infos)
(confirm)
)
)
(complete 30)
(copyfiles
(prompt "Copying to " #target)
(help @copy-files-help)
(source "MEAGORComm")
(dest (tackon target "MEAGORComm"))
(pattern "#?")
)
(copyfiles
(prompt "Copying to " #target)
(help @copy-files-help)
(source "MEAGORComm.info")
(dest (tackon target ""))
(pattern "#?")
)
(complete 80)
(set editor-options
(select
(set editor-choice
(askchoice
(prompt "Copy defualt screen preferences for screen type"
(choices "PAL"
"NTSC"
)
(default 0)
(help "Editor script description:\n\n"
" PAL: For computers with 256 horizontal lines. UK etc."
"\n\n"
" NTSC: For computers with 200 horizontal lines. USA etc.\n\n\n\n"
@askoptions-help)
)
)
)
(shiftleft 1 0) ; PAL
(shiftleft 1 1) ; NTSC
)
)
(complete 70)
;
; Copy selected editor script
;
(if
(IN editor-options 0)
(
(copyfiles
(prompt "Installing the Screen Preferences.")
(source "Screen.cfg.PAL" )
(dest (tackon target "MEAGORComm") )
(newname "Screen.cfg")
(infos)
(help @copyfiles-help)
)
)
)
(complete 90)
(if
(IN editor-options 1)
(
(copyfiles
(prompt "Installing the Screen Preferences.")
(source "Screen.cfg.NTSC" )
(dest (tackon target "MEAGORComm") )
(newname "Screen.cfg")
(infos)
(help @copyfiles-help)
)
)
)
(complete 90)
(makeassign "MEAGORComm" (tackon target "MEAGORComm") )
(startup "The MEAGORComm Assign."
(prompt
"An Assign to MEAGORComm: needs to be added to the \"S:User-Startup\" so the program knows where to find it's data files.")
(help "Installs the Assign to MEAGORComm: in your S:User-Startup or you must manually add the assign to S:User-Startup.")
(command (cat "Assign MEAGORComm: " '"'(getassign "MEAGORComm" "a")'"' "\n"))
)
(complete 100)